/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package platform;

import zorg.platform.*;

/**
 *
 * @author Tomasz Nowak
 */
public class TenorPlatform implements Platform
{
	TenorLogger zrtpLogger; //
	TenorAddressBook addressBook;//
	TenorCryptoUtils cryptoUtils;
	TenorUtils utils;//
	TenorPersistentHashTable persistentHashTable;//
	boolean debug;

	public TenorPlatform()
	{
		zrtpLogger = new TenorLogger();
		addressBook = new TenorAddressBook();
		cryptoUtils = new TenorCryptoUtils();
		utils = new TenorUtils();
		persistentHashTable = new TenorPersistentHashTable();
		debug = true;
	}

	@Override
	public ZrtpLogger getLogger()
	{
		return zrtpLogger;
	}

	@Override
	public AddressBook getAddressBook()
	{
		return addressBook;
	}

	@Override
	public CryptoUtils getCrypto()
	{
		return cryptoUtils;
	}

	@Override
	public Utils getUtils()
	{
		return utils;
	}

	@Override
	public boolean isDebugVersion()
	{
		return debug;
	}

	@Override
	public PersistentHashtable getHashtable()
	{
		return persistentHashTable;
	}
}
